import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './router/router'
import store from './store/'
/*引入资源请求插件*/
import VueResource from 'vue-resource'
/*使用VueResource插件*/
Vue.use(VueResource)
//import ajax from './config/ajax'
//import './style/common'
//import './config/rem'
//import './style/muse-ui-media-layout.css';
Vue.config.devtools = true
Vue.prototype.gethost = function (){//changeData是函数名
	var host = "http://127.0.0.1";
	return host;
  }
Vue.use(VueRouter)
const router = new VueRouter({
	routes
})

new Vue({
	router,
	store,
}).$mount('#app')